package com.hd.shiro2204.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hd.shiro2204.entity.User;
import com.hd.shiro2204.entity.UserRole;

import java.util.List;

public interface UserRoleService extends IService<UserRole> {

    //注册用户方法
    void register(String username,String password);
    public User findByUserName(String username);
    public List<String> findRoles(User user);
    public List<String> findPermissions(User user);
}
